<ol class="breadcrumb bg-default">
    <li>
        <a href="/">首页</a>
    </li>

    <% links.each_with_index do |link, index|%>
    <li class="<%= index == (links.length - 1) ? 'active' : '' %>" href="<%= link[:path] %>">
        <%= link[:name] %>
    </li>
    <% end -%>
</ol>
